<!DOCTYPE html>
<html lang="en">
  <head>
   <?php echo $this->Html->charset(); ?>
	<title>
		<?php
				if(isset($page_title) && $page_title != ''){
					echo 'GreenPSF' . $page_title;	
				}else{
					echo 'Minatocars';		
				}			
			?>
	</title>

   
		<?php
		echo $this->Html->meta('icon');

		//echo $this->Html->css('cake.generic');

		echo $this->fetch('meta');
		echo $this->fetch('css');
		echo $this->fetch('js');
		echo $this->Html->css('admin/assets/bootstrap-datepicker/css/datepicker');
		echo $this->Html->css('admin/assets/font-awesome/css/font-awesome');
		echo $this->Html->css('admin/bootstrap.min');
		echo $this->Html->css('admin/bootstrap-reset');
		echo $this->Html->css('admin/style');
		echo $this->Html->css('admin/style-responsive');
	///	echo $this->Html->script('admin/html5shiv');
	//	echo $this->Html->script('admin/respond.min');
	?>
  </head>

  <body>

  <section id="container" class="">
      <!--header start-->
      <header class="header white-bg">
          <div class="sidebar-toggle-box">
              <div data-original-title="Toggle Navigation" data-placement="right" class="icon-reorder tooltips"></div>
          </div>
          <!--logo start-->
          <a href="#" class="logo" >Flat<span>lab</span></a>
          <!--logo end-->
          <div class="nav notify-row" id="top_menu">
            <!--  notification start -->
            <ul class="nav top-menu">
              <!-- settings start -->
              <li class="dropdown">
                  <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                      <i class="icon-tasks"></i>
                      <span class="badge bg-success">6</span>
                  </a>
                  <ul class="dropdown-menu extended tasks-bar">
                      <div class="notify-arrow notify-arrow-green"></div>
                      <li>
                          <p class="green">You have 6 pending tasks</p>
                      </li>
                      <li>
                          <a href="#">
                              <div class="task-info">
                                  <div class="desc">Dashboard v1.3</div>
                                  <div class="percent">40%</div>
                              </div>
                              <div class="progress progress-striped">
                                  <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
                                      <span class="sr-only">40% Complete (success)</span>
                                  </div>
                              </div>
                          </a>
                      </li>
                      <li>
                          <a href="#">
                              <div class="task-info">
                                  <div class="desc">Database Update</div>
                                  <div class="percent">60%</div>
                              </div>
                              <div class="progress progress-striped">
                                  <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%">
                                      <span class="sr-only">60% Complete (warning)</span>
                                  </div>
                              </div>
                          </a>
                      </li>
                      <li>
                          <a href="#">
                              <div class="task-info">
                                  <div class="desc">Iphone Development</div>
                                  <div class="percent">87%</div>
                              </div>
                              <div class="progress progress-striped">
                                  <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 87%">
                                      <span class="sr-only">87% Complete</span>
                                  </div>
                              </div>
                          </a>
                      </li>
                      <li>
                          <a href="#">
                              <div class="task-info">
                                  <div class="desc">Mobile App</div>
                                  <div class="percent">33%</div>
                              </div>
                              <div class="progress progress-striped">
                                  <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 33%">
                                      <span class="sr-only">33% Complete (danger)</span>
                                  </div>
                              </div>
                          </a>
                      </li>
                      <li>
                          <a href="#">
                              <div class="task-info">
                                  <div class="desc">Dashboard v1.3</div>
                                  <div class="percent">45%</div>
                              </div>
                              <div class="progress progress-striped active">
                                  <div class="progress-bar"  role="progressbar" aria-valuenow="45" aria-valuemin="0" aria-valuemax="100" style="width: 45%">
                                      <span class="sr-only">45% Complete</span>
                                  </div>
                              </div>

                          </a>
                      </li>
                      <li class="external">
                          <a href="#">See All Tasks</a>
                      </li>
                  </ul>
              </li>
              <!-- settings end -->
              <!-- inbox dropdown start-->
              <li id="header_inbox_bar" class="dropdown">
                  <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                      <i class="icon-envelope-alt"></i>
                      <span class="badge bg-important">5</span>
                  </a>
                  <ul class="dropdown-menu extended inbox">
                      <div class="notify-arrow notify-arrow-red"></div>
                      <li>
                          <p class="red">You have 5 new messages</p>
                      </li>
                      <li>
                          <a href="#">
                              <span class="photo"><img alt="avatar" src="img/avatar-mini.jpg"></span>
                                    <span class="subject">
                                    <span class="from">Jonathan Smith</span>
                                    <span class="time">Just now</span>
                                    </span>
                                    <span class="message">
                                        Hello, this is an example msg.
                                    </span>
                          </a>
                      </li>
                      <li>
                          <a href="#">
                              <span class="photo"><img alt="avatar" src="img/avatar-mini2.jpg"></span>
                                    <span class="subject">
                                    <span class="from">Jhon Doe</span>
                                    <span class="time">10 mins</span>
                                    </span>
                                    <span class="message">
                                     Hi, Jhon Doe Bhai how are you ?
                                    </span>
                          </a>
                      </li>
                      <li>
                          <a href="#">
                              <span class="photo"><img alt="avatar" src="img/avatar-mini3.jpg"></span>
                                    <span class="subject">
                                    <span class="from">Jason Stathum</span>
                                    <span class="time">3 hrs</span>
                                    </span>
                                    <span class="message">
                                        This is awesome dashboard.
                                    </span>
                          </a>
                      </li>
                      <li>
                          <a href="#">
                              <span class="photo"><img alt="avatar" src="img/avatar-mini4.jpg"></span>
                                    <span class="subject">
                                    <span class="from">Jondi Rose</span>
                                    <span class="time">Just now</span>
                                    </span>
                                    <span class="message">
                                        Hello, this is metrolab
                                    </span>
                          </a>
                      </li>
                      <li>
                          <a href="#">See all messages</a>
                      </li>
                  </ul>
              </li>
              <!-- inbox dropdown end -->
              <!-- notification dropdown start-->
              <li id="header_notification_bar" class="dropdown">
                  <a data-toggle="dropdown" class="dropdown-toggle" href="#">

                      <i class="icon-bell-alt"></i>
                      <span class="badge bg-warning">7</span>
                  </a>
                  <ul class="dropdown-menu extended notification">
                      <div class="notify-arrow notify-arrow-yellow"></div>
                      <li>
                          <p class="yellow">You have 7 new notifications</p>
                      </li>
                      <li>
                          <a href="#">
                              <span class="label label-danger"><i class="icon-bolt"></i></span>
                              Server #3 overloaded.
                              <span class="small italic">34 mins</span>
                          </a>
                      </li>
                      <li>
                          <a href="#">
                              <span class="label label-warning"><i class="icon-bell"></i></span>
                              Server #10 not respoding.
                              <span class="small italic">1 Hours</span>
                          </a>
                      </li>
                      <li>
                          <a href="#">
                              <span class="label label-danger"><i class="icon-bolt"></i></span>
                              Database overloaded 24%.
                              <span class="small italic">4 hrs</span>
                          </a>
                      </li>
                      <li>
                          <a href="#">
                              <span class="label label-success"><i class="icon-plus"></i></span>
                              New user registered.
                              <span class="small italic">Just now</span>
                          </a>
                      </li>
                      <li>
                          <a href="#">
                              <span class="label label-info"><i class="icon-bullhorn"></i></span>
                              Application error.
                              <span class="small italic">10 mins</span>
                          </a>
                      </li>
                      <li>
                          <a href="#">See all notifications</a>
                      </li>
                  </ul>
              </li>
              <!-- notification dropdown end -->
          </ul>
          </div>
          <div class="top-nav ">
              <ul class="nav pull-right top-menu">
                  <li>
                      <input type="text" class="form-control search" placeholder="Search">
                  </li>
                  <!-- user login dropdown start-->
                  <li class="dropdown">
                      <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                          <img alt="" src="img/avatar1_small.jpg">
                          <span class="username">Jhon Doue</span>
                          <b class="caret"></b>
                      </a>
                      <ul class="dropdown-menu extended logout">
                          <div class="log-arrow-up"></div>
                          <li><a href="#"><i class=" icon-suitcase"></i>Profile</a></li>
                          <li><a href="#"><i class="icon-cog"></i> Settings</a></li>
                          <li><a href="#"><i class="icon-bell-alt"></i> Notification</a></li>
                          <li><a href="login.html"><i class="icon-key"></i> Log Out</a></li>
                      </ul>
                  </li>
                  <!-- user login dropdown end -->
              </ul>
          </div>
      </header>
      <!--header end-->
      <!--sidebar start-->
      <aside>
          <div id="sidebar"  class="nav-collapse ">
              <!-- sidebar menu start-->
              <ul class="sidebar-menu">
                  <li class="">
                      <a class="" href="#">
                          <i class="icon-dashboard"></i>
                          <span>Dashboard</span>
                      </a>
                  </li>
                  <li class="sub-menu">
                      <a href="javascript:;" class="">
                          <i class="icon-book"></i>
                          <span>STOCK</span>
                          <span class="arrow"></span>
                      </a>
                      <ul class="sub">
					  <li><?php echo $this->Html->link(__('NEW STOCK'), array('controller' => 'Stocks', 'action' => 'add'),array('class'=>'')); ?> </li>
					   <li><?php echo $this->Html->link(__('STOCK LIST'), array('controller' => 'Stocks', 'action' => 'index'),array('class'=>'')); ?> </li>
                          <li><a class="" href="widget.html">PURCHASE LIST</a></li>
                          <li><a class="" href="slider.html">BAD PURCHASE LIST</a></li>
                          <li><a class="" href="font_awesome.html">IMPORT STOCK DATA</a></li>
						  <li><a class="" href="font_awesome.html">SHIPPING LIST</a></li>
                      </ul>
                  </li>
                  <li class="sub-menu">
                      <a href="javascript:;" class="">
                          <i class="icon-cogs"></i>
                          <span>BASIC DATA</span>
                          <span class="arrow"></span>
                      </a>
                      <ul class="sub">
					   <li><?php echo $this->Html->link(__('GARAGES'), array('controller' => 'Garages', 'action' => 'index'),array('class'=>'')); ?> </li>
					   <li><?php echo $this->Html->link(__('MAKE'), array('controller' => 'Makes', 'action' => 'index'),array('class'=>'')); ?> </li>
					   <li><?php echo $this->Html->link(__('MODEL DESCRIPTION'), array('controller' => 'ModelDescs', 'action' => 'index'),array('class'=>'')); ?> </li>
					   <li><?php echo $this->Html->link(__('COLOR'), array('controller' => 'Colors', 'action' => 'index'),array('class'=>'')); ?> </li>
					   <li><?php echo $this->Html->link(__('SHOWROOM'), array('controller' => 'Showrooms', 'action' => 'index'),array('class'=>'')); ?> </li> <li><?php echo $this->Html->link(__('GARAGES'), array('controller' => 'Garages', 'action' => 'index','class'=>'')); ?> </li>
						<li><?php echo $this->Html->link(__('LOCATION'), array('controller' => 'CarLocations', 'action' => 'index'),array('class'=>'')); ?> </li>
						<li><?php echo $this->Html->link(__('VEHICLE CATEGORY'), array('controller' => 'Categories', 'action' => 'index'),array('class'=>'')); ?> </li>
						<li><?php echo $this->Html->link(__('MAKE COUNTRY'), array('controller' => 'Countries', 'action' => 'index'),array('class'=>'')); ?> </li>
						<li><?php echo $this->Html->link(__('CURRENCY MASTER'), array('controller' => 'Currencies', 'action' => 'index'),array('class'=>'')); ?> </li>
						<li><?php echo $this->Html->link(__('USER MASTER'), array('controller' => 'Users', 'action' => 'index'),array('class'=>'')); ?> </li>
						<li><?php echo $this->Html->link(__('CONTAINER'), array('controller' => 'Users', 'action' => 'index'),array('class'=>'')); ?> </li>
						<li><?php echo $this->Html->link(__('VEHICLE OPTIONS'), array('controller' => 'VehicleOptions', 'action' => 'index'),array('class'=>'')); ?> </li>		
    							 
                      </ul>
                  </li>
                
                 
              </ul>
              <!-- sidebar menu end-->
          </div>
      </aside>
      <!--sidebar end-->
      <!--main content start-->
      <section id="main-content">
          <section class="wrapper">
              <!-- page start-->
              <?php echo $this->Session->flash(); ?>

			<?php echo $this->fetch('content'); ?>
              <!-- page end-->
          </section>
      </section>
      <!--main content end-->
  </section>

    <!-- js placed at the end of the document so the pages load faster -->
	<?php echo $this->Html->script('admin/jquery'); ?>
	<?php echo $this->Html->script('admin/bootstrap.min'); ?>
	<?php echo $this->Html->script('admin/jquery.scrollTo.min'); ?>
	<?php echo $this->Html->script('admin/jquery.nicescroll'); ?>

	<?php echo $this->Html->script('admin/jquery-ui-1.9.2.custom.min'); ?>
	
	<?php echo $this->Html->script('admin/bootstrap-switch'); ?>
	<?php echo $this->Html->script('admin/jquery.tagsinput'); ?>
	<?php echo $this->Html->script('admin/ga'); ?>
	<?php echo $this->Html->script('admin/assets/bootstrap-datepicker/js/bootstrap-datepicker'); ?>
	<?php echo $this->Html->script('admin/assets/bootstrap-daterangepicker/date'); ?>
	<?php echo $this->Html->script('admin/assets/bootstrap-daterangepicker/daterangepicker'); ?>
	<?php echo $this->Html->script('admin/assets/bootstrap-colorpicker/js/bootstrap-colorpicker'); ?>
	<?php echo $this->Html->script('admin/assets/ckeditor/ckeditor'); ?>
	<?php echo $this->Html->script('admin/common-scripts'); ?>
	<?php echo $this->Html->script('admin/form-component'); ?>
	
	

  </body>
</html>

